Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/model/src/commonMain/kotlin/org/meshtastic/core/model/NodeListDensity.kt 01cd54907d62cd90913d3d071b6bc240cae365ef (01cd5490) Text, 1.21 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.model

T8b949e/** Controls the visual density of the node list. */
Tff7b72enum Tff7b72class T56d364NodeListDensity Tb4b4b4{
T8b949e/** Full-detail layout showing all available data fields. */
Te6edf3COMPLETETb4b4b4,

T8b949e/** Condensed layout with user-configurable field toggles. */
Te6edf3COMPACTTb4b4b4,

Tb4b4b4;

Tff7b72companion Tff7b72object Tb4b4b4{
T8b949e/** Parses a persisted name back to [NodeListDensity], falling back to [COMPLETE]. */
Tff7b72fun Td2a8fffromNameTb4b4b4(Te6edf3nameTb4b4b4: Tffa657StringTb4b4b4)Tb4b4b4: Te6edf3NodeListDensity Tff7b72= Te6edf3entriesTb4b4b4.Te6edf3firstOrNull Tb4b4b4{ Tffa657itTb4b4b4.Te6edf3name Tff7b72=Tff7b72= Te6edf3name Tb4b4b4} Tff7b72?: Te6edf3COMPLETE
Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.09s